package com.ifgostudio.bocai.game.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.ifgostudio.framework.entry.BaseEntity;

/**
 * 游戏下注项
 * @author Wangjk
 * @Version 1.0
 * @Date 2013-4-3
 */
@Entity
@Table(name = "game_item")
public class GameItem extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 4035352287406300221L;

	/**
	 * 游戏科目编号
	 */
	@Column(name = "game_subject_id")
	private Long gameSubjectId;
	
	/**
	 * 游戏项名称
	 */
	@Column(name = "game_item_name")
	private String  gameItemName;
	
	/**
	 *  赔率
	 * @return
	 */
	@Column(name = "odds")
	private Double odds ;
	
	/**
	 * 盘类
	 */
	@Column(name = "pan")
	private String  pan;
	
	/**
	 * 颜色[波段时用到,直接颜色值如#FF0000]
	 */
	@Column(name = "color")
	private String  color;

	/**
	 * 获取游戏科目编号
	 * @return gameSubjectId 游戏科目编号
	 */
	public Long getGameSubjectId() {
		return gameSubjectId;
	}

	/**
	 * 设置游戏科目编号
	 * @param gameSubjectId 游戏科目编号
	 */
	public void setGameSubjectId(Long gameSubjectId) {
		this.gameSubjectId = gameSubjectId;
	}

	/**
	 * 获取游戏项名称
	 * @return gameItemName 游戏项名称
	 */
	public String getGameItemName() {
		return gameItemName;
	}

	/**
	 * 设置游戏项名称
	 * @param gameItemName 游戏项名称
	 */
	public void setGameItemName(String gameItemName) {
		this.gameItemName = gameItemName;
	}

	/**
	 * 获取赔率@return
	 * @return odds 赔率@return
	 */
	public Double getOdds() {
		return odds;
	}

	/**
	 * 设置赔率@return
	 * @param odds 赔率@return
	 */
	public void setOdds(Double odds) {
		this.odds = odds;
	}

	/**
	 * 获取盘类
	 * @return pan 盘类
	 */
	public String getPan() {
		return pan;
	}

	/**
	 * 设置盘类
	 * @param pan 盘类
	 */
	public void setPan(String pan) {
		this.pan = pan;
	}

	/**
	 * 获取颜色[波段时用到直接颜色值如#FF0000]
	 * @return color 颜色[波段时用到直接颜色值如#FF0000]
	 */
	public String getColor() {
		return color;
	}

	/**
	 * 设置颜色[波段时用到直接颜色值如#FF0000]
	 * @param color 颜色[波段时用到直接颜色值如#FF0000]
	 */
	public void setColor(String color) {
		this.color = color;
	}
}
